package care.www.skinrun.com.ffmpeg4androidcmake;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;

import care.www.ffmpeg.utils.FFmpegUtils;

public class MainActivity extends AppCompatActivity {


    private String filePath = "http://skinrun-uploadtest.oss-cn-hangzhou.aliyuncs.com/2016-11-30/583e3cf1420b1.mp4";//"/sdcard/videokit/in.mp4";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        // Example of a call to a native method
        TextView tv = (TextView) findViewById(R.id.sample_text);

        FFmpegUtils fFmpegUtils = new FFmpegUtils();
        tv.setText(fFmpegUtils.videoInfo(filePath));
    }

}
